"""
Created on 2017年8月2日

@author: xiaoj
"""


class HtmlOutPut:
    def __init__(self):
        self.list_data = list()

    def add_data(self, data):
        self.list_data.append(data)

    def print_data(self):
        file = open('data.txt', 'w', encoding='utf-8')
        for data in self.list_data:
            file.write(str(data)+"\n\n")
        file.close()
